<template>
  <div>
    <img src="../assets/example.png" alt="">
  </div>
</template>
<style>
  img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

  }
</style>